package com.kube.design.adapter;

/**
 * @author q.zhangr
 * @version 1.0.0
 * @date 2020/7/20
 */
public class OpticalAdapter implements Motor{

    private OpticalMotor omotor;

    public OpticalAdapter() {
        omotor = new OpticalMotor();
    }

    @Override
    public void drive() {
        omotor.opticalDrive();
    }
}
